package com.lrkj.common.enums;

public enum NoticeType {
    //接收类型
    RECEIVE_TYPE_ALL("ALL", "全部用户"),
    RECEIVE_TYPE_USER("USER", "指定用户"),
    //消息类型
    MESSAGE_TYPE("message_type","消息类型"),
    MESSAGE_TYPE_TZGG("TZGG", "通知公告"),
    MESSAGE_TYPE_BSBX("BSBX", "报事报修"),
    MESSAGE_TYPE_TSJY("TSJY", "投诉建议"),
    //发布状态
    SEND_STATE_10("10", "草稿"),
    SEND_STATE_20("20", "已发布"),
    SEND_STATE_30("30", "撤回"),
    //已读/未读
    HAVE_READ_10("10", "未读"),
    HAVE_READ_20("20", "已读"),
    NOTICE_KEY_FEE_FORM("CREATE_FEE_FORM","费用明细通知"),
    NOTICE_KEY_SYS_NOTICE("SYS_NOTICE","系统全局通知"),
    NOTICE_KEY_MSG_RECALL("MSG_RECALL","消息撤回"),
    ;


    private final String code;
    private final String info;

    NoticeType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
